import Home from "../Page/Home";
import MainLayout from "../Page/MainLayout";
import My from "../Page/My";
import City from "../Page/City";
import { createBrowserRouter } from "react-router-dom";
import Login from "../Page/Login";
import Strategy from "../Page/Strategy";
import Community from "../Page/Community";
export const routes=createBrowserRouter(
    [
        {
            path:'/',
            element:<MainLayout/>,
            children:[
                {
                    path:'/',
                    element:<Home/>
                },
                {
                    path:'/my',
                    element:<My/>
                },
                {
                    path:'/strategy',
                    element:<Strategy/>

                },
                {
                    path:'/community',
                    element:<Community/>

                }
            ]
        },
        {
            path:'/city',
            element:<City/>
        },
        {
            path:'/login',
            element:<Login/>
        }
    ]
)



